package com.wolan.service.impl;

import com.wolan.entity.Machine;
import com.wolan.mapper.mbg.MBGMachineMapper;
import com.wolan.service.MachineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by fei.chen on 2016/3/22.
 */
@Service("machineService")
public class MachineServiceImpl implements MachineService {
    @Autowired
    private MBGMachineMapper machineMapper;

    @Override
    public Machine getByPrimaryKey(Integer id) {
        return machineMapper.selectByPrimaryKey(id);
    }
}
